# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=smbrelay
pkgver=3
pkgrel=6
pkgdesc='SMB / HTTP to SMB replay attack toolkit.'
url='http://www.tarasco.org/security/smbrelay/'
groups=('blackarch' 'blackarch-windows' 'blackarch-networking'
        'blackarch-exploitation')
license=('GPL')
arch=('any')
depends=('wine')
source=("http://www.tarasco.org/security/smbrelay/${pkgname}${pkgver}.zip")
sha512sums=('4979de1f9556de12e367d8938db53b5f711c24a55724e4bba8a1879daeb71f041253e135bc8b28df87b1dd1dee2ded750efaa4aa18049ed788da91ddd12f1f92')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "${pkgname}${pkgver}.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

